<?php

/**
 * Name: 反馈服务层
 * User: Silent
 * Date: 2025-10-11
 * Time: 22:09:33
 */

namespace App\Services\Message;

use App\Repositories\Message\FeedbackRepository;
use App\Services\BaseService;

class FeedbackService extends BaseService
{
    public function __construct(FeedbackRepository $repository)
    {
        $this->repository = $repository;
    }

    /**
     * 添加.
     *
     * @param array $inputs
     * @return array
     */
    public function add(array $inputs): array
    {
        return $this->repository->addData($inputs);
    }
}
